<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Geo3DML-CPP: include/geo3dml/Map.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Geo3DML-CPP
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_acc7f90eaa859a07dba55a8b62805b11.html">geo3dml</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">Map.h</div></div>
</div><!--header-->
<div class="contents">
<a href="_map_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span> </div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="preprocessor">#include &quot;<a class="code" href="_geo3_d_m_l_8h.html">Geo3DML.h</a>&quot;</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="preprocessor">#include &quot;<a class="code" href="_layer_8h.html">Layer.h</a>&quot;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span> </div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacegeo3dml.html">geo3dml</a> {</div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span> </div>
<div class="foldopen" id="foldopen00009" data-start="{" data-end="};">
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_map.html">    9</a></span>    <span class="keyword">class </span><a class="code hl_class" href="classgeo3dml_1_1_map.html">Map</a> : <span class="keyword">public</span> <a class="code hl_class" href="classgeo3dml_1_1_object.html">Object</a> {</div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_map.html#a0b5a3e5b875bbd1ceff064760b68c013">   11</a></span>        <a class="code hl_function" href="classgeo3dml_1_1_map.html#a0b5a3e5b875bbd1ceff064760b68c013">Map</a>();</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_map.html#aa03a16bc53d979f715bdd06580812b05">   12</a></span>        <span class="keyword">virtual</span> <a class="code hl_function" href="classgeo3dml_1_1_map.html#aa03a16bc53d979f715bdd06580812b05">~Map</a>();</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span> </div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_map.html#a0d917fa251ccfdb82cb5daf69bcdbd5e">   15</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_map.html#a0d917fa251ccfdb82cb5daf69bcdbd5e">SetName</a>(<span class="keyword">const</span> std::string&amp; name);</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_map.html#a120e0b3ab9660daed6edbed9de690919">   16</a></span>        std::string <a class="code hl_function" href="classgeo3dml_1_1_map.html#a120e0b3ab9660daed6edbed9de690919">GetName</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_map.html#a06235f4f221ed28af606c376b12ee12a">   17</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_map.html#a06235f4f221ed28af606c376b12ee12a">SetDescription</a>(<span class="keyword">const</span> std::string&amp; s);</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_map.html#a328e6443475a0d1a384f50cc6011aa34">   18</a></span>        std::string <a class="code hl_function" href="classgeo3dml_1_1_map.html#a328e6443475a0d1a384f50cc6011aa34">GetDescription</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_map.html#ae709337b5e44ec7d6ecd11d08993a723">   22</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_map.html#ae709337b5e44ec7d6ecd11d08993a723">AddLayer</a>(<a class="code hl_class" href="classgeo3dml_1_1_layer.html">Layer</a>* layer);</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_map.html#a096ce11e52117080cece071ab6bb33ff">   23</a></span>        <span class="keywordtype">int</span> <a class="code hl_function" href="classgeo3dml_1_1_map.html#a096ce11e52117080cece071ab6bb33ff">GetLayerCount</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_map.html#ac39039d64242fe1f57e9138418758eb4">   24</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_layer.html">Layer</a>* <a class="code hl_function" href="classgeo3dml_1_1_map.html#ac39039d64242fe1f57e9138418758eb4">GetLayerAt</a>(<span class="keywordtype">int</span> i) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span> </div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_map.html#a1e4e762ddc459594aae19831513d9572">   30</a></span>        <a class="code hl_struct" href="structgeo3dml_1_1_box3_d.html">Box3D</a> <a class="code hl_function" href="classgeo3dml_1_1_map.html#a1e4e762ddc459594aae19831513d9572">GetMinimumBoundingRectangle</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_map.html#a625775f5f6fe8a4306c7bd263b0980df">   34</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_map.html#a625775f5f6fe8a4306c7bd263b0980df">SetParentProject</a>(<span class="keyword">const</span> std::string&amp; <span class="keywordtype">id</span>);</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_map.html#a47ff1c561bbccd09fa92341062b599fd">   35</a></span>        std::string <a class="code hl_function" href="classgeo3dml_1_1_map.html#a47ff1c561bbccd09fa92341062b599fd">GetParentProject</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span> </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_map.html#ad1e4e11364f8140667ed453272a0cf34">   39</a></span>        std::string <a class="code hl_variable" href="classgeo3dml_1_1_map.html#ad1e4e11364f8140667ed453272a0cf34">name_</a>;</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_map.html#ae7d7c9ede851999912e5bfb3ef9412fb">   40</a></span>        std::string <a class="code hl_variable" href="classgeo3dml_1_1_map.html#ae7d7c9ede851999912e5bfb3ef9412fb">description_</a>;</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_map.html#addb85fe43d63e3ed707876494b9f74c5">   41</a></span>        std::string <a class="code hl_variable" href="classgeo3dml_1_1_map.html#addb85fe43d63e3ed707876494b9f74c5">parentProjectId_</a>;</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_map.html#aad377badb65164afcf2e9784229ef781">   42</a></span>        std::vector&lt;Layer*&gt; <a class="code hl_variable" href="classgeo3dml_1_1_map.html#aad377badb65164afcf2e9784229ef781">layers_</a>;</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span>    };</div>
</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span>}</div>
<div class="ttc" id="a_geo3_d_m_l_8h_html"><div class="ttname"><a href="_geo3_d_m_l_8h.html">Geo3DML.h</a></div></div>
<div class="ttc" id="a_layer_8h_html"><div class="ttname"><a href="_layer_8h.html">Layer.h</a></div></div>
<div class="ttc" id="aclassgeo3dml_1_1_layer_html"><div class="ttname"><a href="classgeo3dml_1_1_layer.html">geo3dml::Layer</a></div><div class="ttdef"><b>Definition</b> Layer.h:12</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_map_html"><div class="ttname"><a href="classgeo3dml_1_1_map.html">geo3dml::Map</a></div><div class="ttdef"><b>Definition</b> Map.h:9</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_map_html_a06235f4f221ed28af606c376b12ee12a"><div class="ttname"><a href="classgeo3dml_1_1_map.html#a06235f4f221ed28af606c376b12ee12a">geo3dml::Map::SetDescription</a></div><div class="ttdeci">void SetDescription(const std::string &amp;s)</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_map_html_a096ce11e52117080cece071ab6bb33ff"><div class="ttname"><a href="classgeo3dml_1_1_map.html#a096ce11e52117080cece071ab6bb33ff">geo3dml::Map::GetLayerCount</a></div><div class="ttdeci">int GetLayerCount() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_map_html_a0b5a3e5b875bbd1ceff064760b68c013"><div class="ttname"><a href="classgeo3dml_1_1_map.html#a0b5a3e5b875bbd1ceff064760b68c013">geo3dml::Map::Map</a></div><div class="ttdeci">Map()</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_map_html_a0d917fa251ccfdb82cb5daf69bcdbd5e"><div class="ttname"><a href="classgeo3dml_1_1_map.html#a0d917fa251ccfdb82cb5daf69bcdbd5e">geo3dml::Map::SetName</a></div><div class="ttdeci">void SetName(const std::string &amp;name)</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_map_html_a120e0b3ab9660daed6edbed9de690919"><div class="ttname"><a href="classgeo3dml_1_1_map.html#a120e0b3ab9660daed6edbed9de690919">geo3dml::Map::GetName</a></div><div class="ttdeci">std::string GetName() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_map_html_a1e4e762ddc459594aae19831513d9572"><div class="ttname"><a href="classgeo3dml_1_1_map.html#a1e4e762ddc459594aae19831513d9572">geo3dml::Map::GetMinimumBoundingRectangle</a></div><div class="ttdeci">Box3D GetMinimumBoundingRectangle() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_map_html_a328e6443475a0d1a384f50cc6011aa34"><div class="ttname"><a href="classgeo3dml_1_1_map.html#a328e6443475a0d1a384f50cc6011aa34">geo3dml::Map::GetDescription</a></div><div class="ttdeci">std::string GetDescription() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_map_html_a47ff1c561bbccd09fa92341062b599fd"><div class="ttname"><a href="classgeo3dml_1_1_map.html#a47ff1c561bbccd09fa92341062b599fd">geo3dml::Map::GetParentProject</a></div><div class="ttdeci">std::string GetParentProject() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_map_html_a625775f5f6fe8a4306c7bd263b0980df"><div class="ttname"><a href="classgeo3dml_1_1_map.html#a625775f5f6fe8a4306c7bd263b0980df">geo3dml::Map::SetParentProject</a></div><div class="ttdeci">void SetParentProject(const std::string &amp;id)</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_map_html_aa03a16bc53d979f715bdd06580812b05"><div class="ttname"><a href="classgeo3dml_1_1_map.html#aa03a16bc53d979f715bdd06580812b05">geo3dml::Map::~Map</a></div><div class="ttdeci">virtual ~Map()</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_map_html_aad377badb65164afcf2e9784229ef781"><div class="ttname"><a href="classgeo3dml_1_1_map.html#aad377badb65164afcf2e9784229ef781">geo3dml::Map::layers_</a></div><div class="ttdeci">std::vector&lt; Layer * &gt; layers_</div><div class="ttdef"><b>Definition</b> Map.h:42</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_map_html_ac39039d64242fe1f57e9138418758eb4"><div class="ttname"><a href="classgeo3dml_1_1_map.html#ac39039d64242fe1f57e9138418758eb4">geo3dml::Map::GetLayerAt</a></div><div class="ttdeci">Layer * GetLayerAt(int i) const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_map_html_ad1e4e11364f8140667ed453272a0cf34"><div class="ttname"><a href="classgeo3dml_1_1_map.html#ad1e4e11364f8140667ed453272a0cf34">geo3dml::Map::name_</a></div><div class="ttdeci">std::string name_</div><div class="ttdef"><b>Definition</b> Map.h:39</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_map_html_addb85fe43d63e3ed707876494b9f74c5"><div class="ttname"><a href="classgeo3dml_1_1_map.html#addb85fe43d63e3ed707876494b9f74c5">geo3dml::Map::parentProjectId_</a></div><div class="ttdeci">std::string parentProjectId_</div><div class="ttdef"><b>Definition</b> Map.h:41</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_map_html_ae709337b5e44ec7d6ecd11d08993a723"><div class="ttname"><a href="classgeo3dml_1_1_map.html#ae709337b5e44ec7d6ecd11d08993a723">geo3dml::Map::AddLayer</a></div><div class="ttdeci">void AddLayer(Layer *layer)</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_map_html_ae7d7c9ede851999912e5bfb3ef9412fb"><div class="ttname"><a href="classgeo3dml_1_1_map.html#ae7d7c9ede851999912e5bfb3ef9412fb">geo3dml::Map::description_</a></div><div class="ttdeci">std::string description_</div><div class="ttdef"><b>Definition</b> Map.h:40</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_object_html"><div class="ttname"><a href="classgeo3dml_1_1_object.html">geo3dml::Object</a></div><div class="ttdef"><b>Definition</b> Geo3DML.h:7</div></div>
<div class="ttc" id="anamespacegeo3dml_html"><div class="ttname"><a href="namespacegeo3dml.html">geo3dml</a></div><div class="ttdef"><b>Definition</b> AbstractMetadata.h:6</div></div>
<div class="ttc" id="astructgeo3dml_1_1_box3_d_html"><div class="ttname"><a href="structgeo3dml_1_1_box3_d.html">geo3dml::Box3D</a></div><div class="ttdef"><b>Definition</b> Box3D.h:7</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
